﻿<Window x:Name="Form" x:Class="Tetris.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Tetris" Height="450" Width="450" Activated="Form_Activated" MinWidth="370" MinHeight="400" KeyDown="Form_KeyDown">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"/>
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Name="TetrisRow" Height="*"/>
        </Grid.RowDefinitions>
        <Canvas Name="field" Grid.Column="0" Grid.Row="0" Background="LightBlue" SizeChanged="field_SizeChanged" HorizontalAlignment="Left"/>
        <StackPanel Grid.Column="1" Margin="10,5" HorizontalAlignment="Left">
            <Label Content="NEXT COMMING:" HorizontalAlignment="Left"/>
            <Canvas Name="nextcomming" Height="60" Background="AliceBlue" Margin="10,0"/>
            <WrapPanel>
                <Label Content="Score:"/>
                <Label Name="lblscore" Content="0"/>
            </WrapPanel>
        </StackPanel>
    </Grid>
</Window>
